package com.tasly.concreteComponent;

import com.tasly.component.Drink;

/**
 * ClassName:Chocolate
 * Description:
 *
 * @Author 肖宝成
 * @Create 2024/12/19 23:58
 * @Version 1.0
 */
public class Chocolate extends Decorator{
    public Chocolate(Drink drink) {
        super(drink);
        setDesc("巧克力");
        setPrice(2.6);
    }
}
